package com.qf.boot2302.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//@Component
@ConfigurationProperties(prefix = "car")
@Data
public class Car {
    private String brand;

    private Integer price;

    private String color;
}
